package com.sikaryofficial.backend.utils;

import lombok.extern.slf4j.Slf4j;

/**
 * @author : qinjinyuan
 * @desc : 加密
 * @date : 2023/12/22 13:38
 */
@Slf4j
public class UserPass {

    public static void main(String[] args) {
        /*BCryptPasswordEncoder  passwordEncoder =   new BCryptPasswordEncoder();
        String  ePas = passwordEncoder.encode("182712");
        log.info(ePas);
        if(passwordEncoder.matches("182712", "$2a$10$c67ucYVZ4cw5PlaT7LLR.u/N6kLzTOi1odXNzwvBtnZBQWjepqIdm")){
            log.info("匹配");
        }*/

        // $2a$10$3flByHSdmA5ewlPhuvIwueywGBlgNaSoJ9PwxC26tvnA08dgjx20i
    }
}
